<!DOCTYPE HTML>
<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="x-ua-compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
    <title>Aliplayer在线配置</title>
    <link rel="stylesheet" href="aliplayer.css" />
    <script type="text/javascript" src="aliplayer-min.js"></script>
</head>

<body>
    <div class="prism-player" id="J_prismPlayer"></div>
    <script>
    var player = new Aliplayer({
        id: "J_prismPlayer",
        autoplay: true,
        isLive: true,
        playsinline: true,
        width: "100%",
        height: "400px",
        controlBarVisibility: "always",
        useH5Prism: true,
        useFlashPrism: false,
        source: "rtmp://live.xuejiangjun.xyz/12/12",
        cover: ""
    }, function(player) {
        console.log("播放器创建了。");
    });
    </script>
</body>